package zone.haiwen.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import zone.haiwen.demo.dto.Passenger;

/**
 * Description
 * @author zhangHaiWen
 * @date 2021/7/8 20:17
 * @return
 **/
@SuppressWarnings("ALL")
public interface PassengerService extends IService<Passenger> {
   /**
    * Description
    * @author zhangHaiWen
    * @date 2021/7/8 20:17
    * @return void
    **/
   void createTable();

   /**
    * Description
    * @author zhangHaiWen
    * @date 2021/7/8 20:17
    * @return void
    **/
   void insert(Long id, String name, String gender, String age, String gmtCreate, String gmtModified);

   /**
    * Description
    * @author zhangHaiWen
    * @date 2021/7/8 20:17
    * @return com.baomidou.mybatisplus.core.metadata.IPage<zone.haiwen.demo.dto.Passenger>
    **/
   IPage<Passenger> getPassengerByName(String name, Integer current, Integer limit);
}
